<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true"
    CodeFile="ExpertBlog.aspx.cs" Inherits="Community_ExpertBelog" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="Server">
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>Expert Blog</h2>
        </div>
    </div>

    <div class="cl"></div>

    <!--**Content 1 Starts Here**-->

    <div class="formnew_left" style="background-color: #f4f4f4;">
        <div style="width: 96%; padding: 2%; height: auto">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center" class="bodytxt" style="width: 516px;">
                        <!-- contents -->
                        <table width="100%" border="0">
                            <tr>
                                <td align="center" colspan="2"></td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:Label ID="lblMsg" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </td>
                </tr>

                <tr valign="top">
                    <td colspan="2" align="left">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td class="headernew" style="border-bottom: 1px solid #eaeaea; padding: 5px 0;" valign="top"
                                    align="left" colspan="4">&nbsp; 
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblMessage" runat="Server" ForeColor="red"></asp:Label></td>
                            </tr>
                            <tr>
                                <td class="bodytxt" style="width: 700px; height: 61px;" align="left">
                                    <asp:DataList ID="dlistExpert" runat="Server" DataKeyField="Id" RepeatColumns="1"
                                        RepeatDirection="Horizontal" CellPadding="0" Width="680px">
                                        <HeaderTemplate>
                                            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td style="border-bottom: 1px solid #ccc; width: 110px; vertical-align: top; padding: 10px;">
                                                    <%--<img alt="" id="imgPicture" src="<%=Session["strHttp"]%><%# "imagehandler.ashx?type=t&id=" + Eval("Id") + "&gender=" + Eval("gender") %>"
                                                                        width="80" height="100" />--%>

                                                    <img id="imgPicture" src="<%=Session["strHttp"]%><%#Eval("photo") %>"
                                                        width="100" height="100" alt="" />

                                                </td>
                                                <td style="border-bottom: 1px solid #ccc; background-color: #fff; vertical-align: top; padding: 10px;">
                                                    <strong>
                                                        <%#Eval("GroupPractice") %>
                                                    </strong>
                                                    <br />
                                                    <!-- Comented for implement new URL Formate at 17/07/08 by Ranjeet 
                                                        <a href="<%=Session["strHttp"]%><%#Eval("ProfilePath") %>"><%# Eval("Name") %></a>-->
                                                    <a href="<%=Session["strHttp"]%>doctors/<%#lfunction.GetURLFormatById(Convert.ToInt32(Eval("Id")),"DOCTOR")%>/<%# Eval("Id") %>-<%# Eval("Name") %>.aspx"><%# Eval("Name") %></a>
                                                    <%# Eval("Title") %>
                                                    <br />
                                                    <a href="<%=Session["strHttp"]%>MessageBoard/ViewMessage.aspx?id=<%# ReturnQuiryString(Convert.ToString(Eval("id")),Convert.ToString(Eval("userType")))%>">Message Board</a> | <a href="<%=Session["strHttp"]%>Community/BlogDetail.aspx?bid=<%# Eval("id") %>&type=<%# Eval("userType") %>">View Blog</a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:DataList>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <%-- <tr>
                                    <td align="left" class="bodytxt" style="width: 516px; height: 8px;">
                                        <img src="../images/spacer.gif" alt="" width="8" height="8" /></td>
                                </tr>--%>
            </table>
        </div>

    </div>
</asp:Content>
